package com.htl.entity;

import java.util.Date;

public class MsBorrow {
	private int borrowId;
	private int borrowReaderId;
	private int borrowBookId;
	private String borrowBooking;	// enum('未预约', '已预约') default'未预约',
	private String borrowRenew;		// enum('不续借', '续借') default'不续借',
	private Date borrowTime;
	private Date borrowReturnTime;
	public int getBorrowId() {
		return borrowId;
	}
	public void setBorrowId(int borrowId) {
		this.borrowId = borrowId;
	}
	public int getBorrowReaderId() {
		return borrowReaderId;
	}
	public void setBorrowReaderId(int borrowReaderId) {
		this.borrowReaderId = borrowReaderId;
	}
	public int getBorrowBookId() {
		return borrowBookId;
	}
	public void setBorrowBookId(int borrowBookId) {
		this.borrowBookId = borrowBookId;
	}
	public String getBorrowBooking() {
		return borrowBooking;
	}
	public void setBorrowBooking(String borrowBooking) {
		this.borrowBooking = borrowBooking;
	}
	public String getBorrowRenew() {
		return borrowRenew;
	}
	public void setBorrowRenew(String borrowRenew) {
		this.borrowRenew = borrowRenew;
	}
	public Date getBorrowTime() {
		return borrowTime;
	}
	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}
	public Date getBorrowReturnTime() {
		return borrowReturnTime;
	}
	public void setBorrowReturnTime(Date borrowReturnTime) {
		this.borrowReturnTime = borrowReturnTime;
	}
	@Override
	public String toString() {
		return "MsBorrow [borrowId=" + borrowId + ", borrowReaderId=" + borrowReaderId + ", borrowBookId="
				+ borrowBookId + ", borrowBooking=" + borrowBooking + ", borrowRenew=" + borrowRenew + ", borrowTime="
				+ borrowTime + ", borrowReturnTime=" + borrowReturnTime + ", borrowPenalty=" + "]";
	}
	public MsBorrow(int borrowId, int borrowReaderId, int borrowBookId, String borrowBooking, String borrowRenew,
			Date borrowTime, Date borrowReturnTime ) {
		super();
		this.borrowId = borrowId;
		this.borrowReaderId = borrowReaderId;
		this.borrowBookId = borrowBookId;
		this.borrowBooking = borrowBooking;
		this.borrowRenew = borrowRenew;
		this.borrowTime = borrowTime;
		this.borrowReturnTime = borrowReturnTime;
	}
	public MsBorrow() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
